<template>
  <div class="yc-container-card-bs">
    <div v-if="$slots.header" class="yc-container-card-bs__header" ref="header">
      <slot name="header"/>
    </div>
    <div class="yc-container-card-bs__body" ref="wrapper">
      <div class="yc-container-card-bs__body-wrapper-inner">
        <div
          class="yc-container-card-bs__body-card"
          :class="{
              'is-spacious': spacious
            }">
          <slot/>
        </div>
      </div>
    </div>
    <div v-if="$slots.footer" class="yc-container-card-bs__footer" ref="footer">
      <slot name="footer"/>
    </div>
  </div>
</template>

<script>
import bs from './mixins/bs'
export default {
  name: 'yc-container-card-bs',
  mixins: [
    bs
  ]
}
</script>
